import request from '/@/utils/request';

export function queryDomains(queryForm) {
	return request({
		url: '/service/querydomains.action',
		method: 'post',
		params: queryForm,
	});
}

export function queryAllDomain(data) {
	return request({
		url: '/service/queryalldomain.action',
		method: 'post',
		params: data,
	});
}

export function queryMaxDomain(queryForm) {
	return request({
		url: '/eslithe/queryMaxDomain.action',
		method: 'post',
		params: queryForm,
	});
}

export function addDomain(queryForm) {
	return request({
		url: '/eslithe/addDomain.action',
		method: 'post',
		params: queryForm,
	});
}

export function updateDomain(queryForm) {
	return request({
		url: '/eslithe/updateDomain.action',
		method: 'post',
		params: queryForm,
	});
}

export function deleteDomain(queryForm) {
	return request({
		url: '/eslithe/deleteDomain.action',
		method: 'post',
		params: queryForm,
	});
}
